using System;
using System.Collections.Generic;
using System.Windows.Forms;

namespace ASA
{
    static class Program
    {
        /// <summary>
        /// The main entry point for the application.
        /// </summary>
        [STAThread]
        static void Main()
        {
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);

            //Show the login dialog if we get a valid user run, else exit
            LoginDialog ld = new LoginDialog();
            if (ld.ShowDialog() == DialogResult.OK)
            {
                if (ld.GetUser != null)
                {
                    Application.Run(new ResultsForm(ld.GetUser));
                }
            }
        }
    }
}